<div class="tableform">
<{if $detail_url}>
 <h3><a style="float:right;" href="javascript:;" onclick="location.href='<{$detail_url}>';">查看更多历史记录</a></h3>
<{/if}>
 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="gridlist">
  <col class="Colgoodsid"></col>
  <col class="Colgoodsid"></col>
  <col class="Colgoodsid"></col>
  <col class="textleft"></col>     
    <thead>
      <th><{t}>订单号<{/t}></th>
      <th><{t}>使用时间<{/t}></th>
      <th><{t}>订单金额<{/t}></th>
      <th><{t}>使用者<{/t}></th>
      <th><{t}>该订单使用的优惠券<{/t}></th>
    </tr>
  </thead>
  <tbody>
    <{foreach from=$couponloglist item=item}>
    <tr>
        <td><{$item.order_id}></td>
        <td><{$item.usetime|date_format:"%Y-%m-%d %H:%M:%S"}></td>
        <td><{$item.total_amount|cur}></td>
        <td><{$item.member_name|default:'非会员顾客'}></td>
        <td><{$item.other_coupon}></td>
    </tr>
    <{/foreach}>
  </tbody>
 </table>
</div>